package com.wishu.finance.utils;

import com.ruoyi.common.core.exception.base.BaseException;

@SuppressWarnings("serial")
public class BusinessException extends BaseException {

    public BusinessException(String msg) {
        super(msg);
    }

    public BusinessException(String msg, Object[] args) {
        super(msg, args);
    }

    public BusinessException(String msg, Object arg1) {
        super(msg, new Object[]{arg1});
    }

    public BusinessException(String msg, Object arg1, Object arg2) {
        super(msg, new Object[]{arg1, arg2});
    }

    public BusinessException(String msg, Throwable cause) {
        super(msg, String.valueOf(cause));
    }
}
